import Vue from 'vue';
import VueRouter from 'vue-router';
import Page2 from '../layout/page2.vue';

Vue.use(VueRouter);
const router = new VueRouter({
  mode: 'history',
  routes: [{
    path: '*',
    redirect: '/sub',
  }, {
    path: '/sub',
    component: Page2
  }]
})

export default router;
